package com.panshi.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

//@Data
//@NoArgsConstructor
//@AllArgsConstructor
@ApiModel("部门实体类")
public class Departement implements Serializable {

    @ApiModelProperty("部门ID")
    private Integer depId;
    @ApiModelProperty("部门名称")
    private String departementName;

    public Departement() {
    }

    public Departement(Integer depId, String departementName) {
        this.depId = depId;
        this.departementName = departementName;
    }

    @Override
    public String toString() {
        return "Departement{" +
                "depId=" + depId +
                ", departementName='" + departementName + '\'' +
                '}';
    }

    public Integer getDepId() {
        return depId;
    }

    public void setDepId(Integer depId) {
        this.depId = depId;
    }

    public String getDepartementName() {
        return departementName;
    }

    public void setDepartementName(String departementName) {
        this.departementName = departementName;
    }
}
